package com.boco.blch.analysiser.compliance.HW.data;

import com.boco.blch.analysiser.compliance.ComplianceResolved;
/**
 * @author 黄戈
 * HBase审计日志文件权限最小化安全基线要求项
 *
 */

public class BOCO_Hbase_LogAudit_AuditLogFileMinAuth implements ComplianceResolved {

	@Override
	public int realEchoResolved(String echoResult) {
		//boolean flag=false;
		if(!echoResult.equals("")&&echoResult!= null&&(!echoResult.contains(NoPermission1)&&!echoResult.contains(NoPermission2)&&!echoResult.contains(NoPermission3))){
			if(!echoResult.contains(NotFindFile)){
		      if(echoResult.contains("boco-HBase-result:error")){
		    	  return FAILED;
		      }else{
		    	  return SUCCESS;
		      }
		   
		  }else{
			  return FAILED;
		  }
		}else{
			return FAILED;
		}
	
	}

}
